<template>
  <div class="da">
    <router-view></router-view>
    
    <!-- <div class="box">
      <div class="header">头部</div>
      <div class="meddle">内容</div>
    </div> -->
    <div class="footer">
     
      <van-tabbar v-model="active" route>
        <van-tabbar-item replace to="/index" icon="home-o">电影</van-tabbar-item>
        <van-tabbar-item replace to="/yingyuan" icon="home-o">影院</van-tabbar-item>
        <van-tabbar-item replace to="/zixun" icon="home-o">咨询</van-tabbar-item>
        <van-tabbar-item replace to="/user" icon="home-o">我的</van-tabbar-item>
      </van-tabbar>
    </div>
  </div>
 
</template>
<script setup>
 import { ref } from 'vue';
   


</script>
<style lang="scss">
* {
  padding: 0;
  margin: 0;
  list-style: none;
}

html,
body,
#app {
  width: 100%;
  height: 100%;
}

.da {
  width: 100%;
  height: 100%;
  display: flex;
  overflow: auto;
}

.da {
  flex: 1;
  flex-direction: column;
}

.box {
  flex: 1;
  overflow: auto;
  flex-direction: column;
  height: 3.125rem;
}

.meddle {
  height: 3.125rem;
  overflow: auto;
}

.footer {
  flex: 1;
  overflow: auto;
  width: 3.125rem;

}
</style>
